<template>
  <div id="app">
    <ActionSheet v-model="show" :list="list"></ActionSheet>
    <button @click="open">打开</button>
  </div>
</template>

<script>
import ActionSheet from "./components/ActionSheet.vue"
export default {
  name: 'App',
  data(){
    return {
      show: false,
      list: ["选项1","选项2","选项3"]
    }
  },
  components: {
    ActionSheet
  },
  mounted() {
  },
  methods: {
    open(){
      this.show = true
    }
  }
}
</script>

<style>
body,html{
  padding: 0;
  margin: 0;
}
</style>
